package org.dromara.manu.domain.vo;

import org.dromara.manu.domain.ManuMaterialCharaTemp;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 物料特征模板视图对象 manu_material_chara_temp
 *
 * @author Bin Liu
 * @date 2024-11-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ManuMaterialCharaTemp.class)
public class ManuMaterialCharaTempVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 类别id
     */
    @ExcelProperty(value = "类别id")
    private Long categoryId;

    /**
     * 简述
     */
    @ExcelProperty(value = "简述")
    private String description;

    /**
     * 数据类别
     */
    @ExcelProperty(value = "数据类别")
    private String dataCategory;

    /**
     * 是否允许为孔
     */
    @ExcelProperty(value = "是否允许为孔", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_yes_no")
    private Integer isNull;


}
